package org.example.design.designmode.prototype.jsonclone;



public class JSONUserTest {
    public static void main(String[] args) {
        User u  = new User();
        u.setAge(19);
        u.setName("小鱼鱼");
        System.out.println("user1"+u);
        System.out.println("user2"+User.getJSONArrayClone(u));
        System.out.println("user3"+User.getJSONArrayMapClone(u));
    }
}
